<?php
/**
 * Created by PhpStorm.
 * User: yu
 * Date: 2017/1/5
 * Time: 下午4:28
 */

namespace Common\Controller;

class AdminController extends BaseController
{
	public function __init(){
		//登录后台权限验证
		if(!isset($_SESSION['admin'])){
			header('location:'.u('admin/login/login'));
		}
	}
}